package com.leenleda.ips.entity;

import com.leenleda.ips.util.Utils;

public class DataEntity {
    private String mediaUrl;
    private String mediaType;
    private String voiceSpeed;
    private int cacheSize;
    private int volume;

    public String getMediaUrl() {
        return Utils.getStringValue(mediaUrl);
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl;
    }

    public String getMediaType() {
        return Utils.getStringValue(mediaType);
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public String getVoiceSpeed() {
        return voiceSpeed;
    }

    public void setVoiceSpeed(String voiceSpeed) {
        this.voiceSpeed = voiceSpeed;
    }

    public int getCacheSize() {
        return cacheSize;
    }

    public void setCacheSize(int cacheSize) {
        this.cacheSize = cacheSize;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    @Override
    public String toString() {
        return "DataEntity{" +
                "mediaUrl='" + mediaUrl + '\'' +
                ", mediaType='" + mediaType + '\'' +
                ", voiceSpeed=" + voiceSpeed +
                ", cacheSize=" + cacheSize +
                ", volume=" + volume +
                '}';
    }
}
